﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_TreeListLayout.cshtml";
}

<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'west',width:120">
        <ul id="tree_logset" data-options="url:'/powerinfo/childrenwithoutbutton/8',onClick:CreatePage,animate:true,lines:true"></ul>
    </div>
    <div id="div_logset" class="yhidden" data-options="region:'center',border:false">
    </div>
</div>
@section Bottom{
    @*<script src="~/Content/easyui/jquery.min.js"></script>
    <script src="~/Content/js/tjzheng.js"></script>*@
    @*<script src="~/Content/js/biztree.js"></script>*@
    <script type="text/javascript">
        var objBizTree = new BizTree("#tree_logset");
        function CreatePage(node) {
            $div = $("#div_logset");
            $div.children().remove();
            $div.append(CreateiFrame(node.Data.LinkUrl));
        }
    </script>
}
